﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Halcon二次开发.Model.自定义控件
{
    public partial class FlowNode : UserControl
    {
        //增加自定义控件中的属性,供外部用户拖动直接修改
        [Category("流程控件属性")]
        public string NodeName { get=>label2.Text; set=> label2.Text=value; }

        [Category("流程控件属性")]
        public Color LightColor { get; set; } = Color.Black;
        public FlowNode()
        {
            InitializeComponent();
        }
    }
}
